package test1;

import SpringDao.BeanFactory;

public class Test { 
	public static void main(String[] args) throws Exception {
		BeanFactory.init("src/main/resources/bean.xml");
		CarInf d = (CarInf) BeanFactory.getBeanInstance("carService");
		d.start();
		d.run();
		d.stop();
 	}
}	
